package com.zhc.dejingapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhc
 * @since 2024-08-07
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("qing_sfcmoroutingshift")
@ApiModel(value = "QingSfcmoroutingshiftEntity对象", description = "")
public class QingSfcmoroutingshiftEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "main_id", type = IdType.AUTO)
    private Long mainId;

    @TableField("qingApplyId")
    private Long qingApplyId;

    @TableField("downBatchId")
    private String downBatchId;

    @TableField("qingRowCode")
    private String qingRowCode;

    @TableField("qingApplyUser")
    private String qingApplyUser;

    @TableField("qingApplyDate")
    private String qingApplyDate;

    @TableField("qingUpdateDate")
    private String qingUpdateDate;

    @TableField("qingRowState")
    private String qingRowState;

    @TableField("appKey")
    private String appKey;

    @TableField("moldPeriod")
    private double moldPeriod;

    @TableField("shiftName")
    private String shiftName;

    @TableField("moOrderCode")
    private String moOrderCode;

    @TableField("moTaskCode")
    private String moTaskCode;

    @TableField("invCode")
    private String invCode;

    @TableField("invName")
    private String invName;

    @TableField("invStd")
    private String invStd;

    @TableField("moOrderMemo")
    private String moOrderMemo;

    @TableField("opCode")
    private String opCode;

    @TableField("opName")
    private String opName;

    @TableField("eqCode")
    private String eqCode;

    @TableField("moldCode")
    private String moldCode;

    @TableField("psnName")
    private String psnName;

    @TableField("psnCode")
    private String psnCode;

    @TableField("opSeq")
    private Integer opSeq;

    @TableField("isFirstFlag")
    private String isFirstFlag;

    @TableField("isLastFlag")
    private String isLastFlag;

    @TableField("colorName")
    private String colorName;

    @TableField("planQty")
    private Integer planQty;

    @TableField("planBeginDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime planBeginDate;

    @TableField("planEndDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime planEndDate;

    @TableField("workBatchNo")
    private String workBatchNo;

    @TableField("workTaskState")
    private String workTaskState;

    @TableField("firstItemInspectResult")
    private String firstItemInspectResult;

    @TableField("lastItemInspectResult")
    private String lastItemInspectResult;

    @TableField("onsiteInspectResult")
    private String onsiteInspectResult;

    @TableField("workTaskStartDate")
    private LocalDateTime workTaskStartDate;

    @TableField("finishedQty")
    private Integer finishedQty;

    @TableField("scrapQty")
    private Integer scrapQty;

    @TableField("leaveQty")
    private Integer leaveQty;

    @TableField("estimatedEndTime")
    private LocalDateTime estimatedEndTime;

    @TableField("estimatedStartTime")
    private LocalDateTime estimatedStartTime;

    @TableField("actualEndTime")
    private LocalDateTime actualEndTime;

    @TableField("actualStartTime")
    private LocalDateTime actualStartTime;

    @TableField("invSOP")
    private String invSOP;

    @TableField("invPIC")
    private String invPIC;

    @TableField("planProduceMinute")
    private Double planProduceMinute;

    @TableField("eqId")
    private Long eqId;

    @TableField("moldCavityQty")
    private Integer moldCavityQty;

    @TableField("moldAvailCavityQty")
    private Integer moldAvailCavityQty;

    @TableField("gatherCloseNum")
    private Integer gatherCloseNum;

    @TableField("openAndCloseNum")
    private Integer openAndCloseNum;

    @TableField("gaffer")
    private String gaffer;

    @TableField("estimatedStartUpTime")
    private LocalDateTime estimatedStartUpTime;

    @TableField("actualPeriod")
    private Integer actualPeriod;

    @TableField("eqCurrentState")
    private String eqCurrentState;

    @TableField("moldCurrentState")
    private String moldCurrentState;

    @TableField("planProduceHour")
    private double planProduceHour;

    @TableField("selMoOrder")
    private String selMoOrder;


}
